<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="/admin/css/bootstrap.css" />
<link rel="stylesheet" type="text/css"
	href="/admin/css/bootstrap-responsive.css" />
<link rel="stylesheet" type="text/css" href="/admin/css/style.css" />
<script type="text/javascript" src="/admin/js/jquery2.js"></script>
<script type="text/javascript" src="/admin/js/jquery2.sorted.js"></script>
<script type="text/javascript" src="/admin/js/bootstrap.js"></script>
<script type="text/javascript" src="/admin/js/ckform.js"></script>
<script type="text/javascript" src="/admin/js/common.js"></script>

<style type="text/css">
body {font-size: 20px;
	padding-bottom: 40px;
	background-color: #e9e7ef;
}

.sidebar-nav {
	padding: 9px 0;
}

@media ( max-width : 980px) {
	/* Enable use of floated navbar text */
	.navbar-text.pull-right {
		float: none;
		padding-left: 5px;
		padding-right: 5px;
	}
}
</style>
</head>
<body>
	<form class="form-inline definewidth m20" action="{{url('/admin/order_del')}}" method="post">
		{!!csrf_field()!!}
     <font color="#777777"><strong>订单验证：</strong></font>
    <input type="text" name="validate" id="menuname"class="abc input-default" placeholder="" value="">&nbsp;&nbsp;
    <button type="submit" class="btn btn-primary">验证</button>
</form>

	<table class="table table-bordered table-hover definewidth m10">
		<thead>
			<tr>
				<th>订单编号</th>
				<th>场馆名称</th>
				<th>使用时间</th>
				<th>价格</th>
				<th>删除</th>
			</tr>
		</thead>
		@foreach($orders as $o)
		<tr>
			<td>{{$o->order_sn}}</td>
			<td>{{$o->venue_name}}</td>
			<td><a href="studentdetail.html">{{$o->usetime}}</a></td>
			<td>{{$o->money}}</td>
			<td>
				<button><a href="{{url('/admin/order_del', ['orderid'=>$o->order_id])}}">删除</a></button> </a>
			</td>
		</tr>
		@endforeach

	</table>

</body>
</html>
